home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / gedit.postrm < prev    next >
Encoding:
Text File  |  2007-04-10  |  487 b   |  18 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_installmenu
  4. if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
  5. # End automatically added section
  6. # Automatically added by dh_gconf
  7. if [ "$1" = purge ]; then
  8.     OLD_DIR=/etc/gconf/schemas
  9.     SCHEMA_FILES="gedit-file-browser.schemas gedit.schemas "
  10.     if [ -d $OLD_DIR ]; then
  11.         for SCHEMA in $SCHEMA_FILES; do
  12.             rm -f $OLD_DIR/$SCHEMA
  13.         done
  14.         rmdir -p --ignore-fail-on-non-empty $OLD_DIR
  15.     fi
  16. fi
  17. # End automatically added section
  18.